package com.mkb.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.mkb.entity.GraphCaseDTO;

public interface GraphCaseService {
    Boolean deleteById(Long id) throws Exception;

    Long create(GraphCaseDTO record)throws Exception;

    GraphCaseDTO getById(Long id)throws Exception;

    Boolean update(GraphCaseDTO record)throws Exception;

    PageInfo<GraphCaseDTO> queryPage(GraphCaseDTO graphCaseDTO)throws Exception;

    List<GraphCaseDTO> queryList(GraphCaseDTO graphCaseDTO)throws Exception;

    int count(Map<String, Object> map)throws Exception;

    int deleteByGraphId(Long graphId)throws Exception;

    void createBatch(List<GraphCaseDTO> graphCaseList) throws Exception;
}